

import org.antlr.runtime.*;

/**
 *
 * @author sempere
 */
class plp2 {
    public static void main(String[] args) throws Exception {
        
        plp2Lexer lex = new plp2Lexer(new ANTLRFileStream(args[0]));    
        CommonTokenStream tokens = new CommonTokenStream((TokenSource) lex);
        plp2Parser parser = new plp2Parser(tokens);
        
        try {
	
            String trad;
            trad = parser.s();
	    System.out.println(trad);
            
	} catch (Exception e) {
            System.err.println(e.toString());
        }
    }
}
